﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zmx1
{
    class Circle:shape
    {
        private double radius;
        public double Radius
        {
            get { return this.radius; }
            set { this.radius = value; }
        }

        public override void GetArea(double a)
        {
            base.GetArea(a);
            double Area;
            Area = a * a * 3.14;
            Console.WriteLine("圆的面积为：{0}", Area);
        }

    }
}

